package quack;

import quack.fly.FlyWithWings;

/**
 * Created by Frank on 2017/8/6.
 */
public class MallardDuck extends Duck {

    public MallardDuck() {
        super.quackBehavior = new Quack();
        super.flyBehavior = new FlyWithWings();
    }

    public void disPlay() {
        System.out.println("====================quack quack.fly with wings!");
    }
}
